package com.atguigu.work;

public class Test04 {
    public static void main(String[] args) {
        MyDate my = new MyDate();
        my.set(2021, 11, 2);
        System.out.println(my.year + "年" + my.month + "月" + my.day + "日");
        System.out.println("是闰年吗？" + my.isLeapYear());
        my.puls(70, 70, 70);
        System.out.println("再加1年70个月70天之后的日期是：");
        System.out.println(my.year + "年" + my.month + "月" + my.day + "日");
    }
}
